package com.ruoyi.web.dorm.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class HealthEntity {
    /**
     * id
     */
    @Excel(name = "id", width = 20)
    private Long id;

    /**
     * 宿舍id
     */

    private Long dormId;

    @Excel(name = "宿舍号", width = 20)
    private Long dormNum;
    @Excel(name = "楼号", width = 20)
    private String dormArea;


    /**
     * 宿舍卫生
     */
    @Excel(name = "宿舍卫生", width = 20)
    private String dormHealth;

    /**
     * 创建者
     */

    private String createBy;

    /**
     * 创建时间
     */
    @Excel(name = "创建时间", width = 20, dateFormat = "yyyy年MM月dd日")
    @JsonFormat(pattern = "yyyy年MM月dd日")
    private Date createTime;

    /**
     * 更新者
     */

    private String updateBy;

    /**
     * 更新时间
     */
    @Excel(name = "更新时间", width = 20, dateFormat = "yyyy年MM月dd日")
    @JsonFormat(pattern = "yyyy年MM月dd日")
    private Date updateTime;

    /**
     * 删除标志（0代表存在 1代表删除）
     */

    private String delFlag;
}
